package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-OSPFV3进程配置-对象 element_ospfv3
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementOspfv3 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** OSPF进程ID */
    @Excel(name = "OSPF进程ID")
    private String ospfId;

    /** VRF名称 */
    @Excel(name = "VRF名称")
    private String vrfName;

    /** Router ID */
    @Excel(name = "Router ID")
    private String routeId;

    /** TE使能 */
    @Excel(name = "TE使能")
    private String teEnable;

    private String cspfEnable;

    /** 最大等价路由条目 */
    @Excel(name = "最大等价路由条目")
    private String maxEqualRouteNum;

    /** 距离设置 */
    @Excel(name = "距离设置")
    private String distanceConfig;

    /** SPF定时器 */
    @Excel(name = "SPF定时器")
    private String spfTimer;

    /** 优雅重启 */
    @Excel(name = "优雅重启")
    private String restart;

    /** BFD使能 */
    @Excel(name = "BFD使能")
    private String bfdEnable;

    /** BFD属性 */
    @Excel(name = "BFD属性")
    private String bfdAttribute;

    /** SRV6 Locator配置 */
    @Excel(name = "SRV6 Locator配置")
    private String srvConfig;

    /** OSPF动态时延配置 */
    @Excel(name = "OSPF动态时延配置")
    private String ospfConfig;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setOspfId(String ospfId) 
    {
        this.ospfId = ospfId;
    }

    public String getOspfId() 
    {
        return ospfId;
    }
    public void setVrfName(String vrfName) 
    {
        this.vrfName = vrfName;
    }

    public String getVrfName() 
    {
        return vrfName;
    }
    public void setRouteId(String routeId) 
    {
        this.routeId = routeId;
    }

    public String getRouteId() 
    {
        return routeId;
    }
    public void setTeEnable(String teEnable) 
    {
        this.teEnable = teEnable;
    }

    public String getTeEnable() 
    {
        return teEnable;
    }
    public void setMaxEqualRouteNum(String maxEqualRouteNum) 
    {
        this.maxEqualRouteNum = maxEqualRouteNum;
    }

    public String getMaxEqualRouteNum() 
    {
        return maxEqualRouteNum;
    }
    public void setDistanceConfig(String distanceConfig) 
    {
        this.distanceConfig = distanceConfig;
    }

    public String getDistanceConfig() 
    {
        return distanceConfig;
    }
    public void setSpfTimer(String spfTimer) 
    {
        this.spfTimer = spfTimer;
    }

    public String getSpfTimer() 
    {
        return spfTimer;
    }
    public void setRestart(String restart) 
    {
        this.restart = restart;
    }

    public String getRestart() 
    {
        return restart;
    }
    public void setBfdEnable(String bfdEnable) 
    {
        this.bfdEnable = bfdEnable;
    }

    public String getBfdEnable() 
    {
        return bfdEnable;
    }
    public void setBfdAttribute(String bfdAttribute) 
    {
        this.bfdAttribute = bfdAttribute;
    }

    public String getBfdAttribute() 
    {
        return bfdAttribute;
    }
    public void setSrvConfig(String srvConfig) 
    {
        this.srvConfig = srvConfig;
    }

    public String getSrvConfig() 
    {
        return srvConfig;
    }
    public void setOspfConfig(String ospfConfig) 
    {
        this.ospfConfig = ospfConfig;
    }

    public String getOspfConfig() 
    {
        return ospfConfig;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCspfEnable() {
        return cspfEnable;
    }

    public void setCspfEnable(String cspfEnable) {
        this.cspfEnable = cspfEnable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("ospfId", getOspfId())
            .append("vrfName", getVrfName())
            .append("routeId", getRouteId())
            .append("teEnable", getTeEnable())
                .append("cspfEnable", getCspfEnable())
            .append("maxEqualRouteNum", getMaxEqualRouteNum())
            .append("distanceConfig", getDistanceConfig())
            .append("spfTimer", getSpfTimer())
            .append("restart", getRestart())
            .append("bfdEnable", getBfdEnable())
            .append("bfdAttribute", getBfdAttribute())
            .append("srvConfig", getSrvConfig())
            .append("ospfConfig", getOspfConfig())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
